/* 
 * File:   GuiManager.h
 * Author: pson
 *
 * Created on April 15, 2011, 9:28 AM
 */

#ifndef NRPSTG_GUIMANAGER_H
#define	NRPSTG_GUIMANAGER_H

#include <SDL.h>

class GuiWidget;
class GuiContainer;
class FontManager;

class GuiManager {
private:
    GuiContainer* _root;
    FontManager* _font;

//    void _input(GuiWidget* w, SDL_Event* evt, unsigned int ms);
//    void _update(GuiWidget* w, unsigned int ms);
//    void _draw(GuiWidget* w);
//
//    void _build_bg_display(GuiWidget* w);
//    void _build_display(GuiWidget* w);

public:
    GuiManager(int width, int height, FontManager* font);
    ~GuiManager();

    void add_widget(GuiWidget* w);


    void input(SDL_Event* evt, unsigned int ms);
    void update(unsigned int ms);
    void draw();

};

#endif	/* NRPSTG_GUIMANAGER_H */

